//src/router/modules
import Layout from '@/layout/index.vue'

const marketRouter = {
  path: '/market',
  component: Layout,
  redirect: '/market',
  name: 'market',
  alwaysShow: true,
  meta: {
    title: '',
    icon: ''
  },
  children: [
    {
      path: 'userindex',
      component: () => import('@/views/customer/game/market/user/userIndex.vue'),
      name: 'userindex',
      meta: { title: '用户管理' }
    },{
      path: 'myuserindex',
      component: () => import('@/views/customer/game/market/user/myUserIndex.vue'),
      name: 'myuserindex',
      meta: { title: '我的用户' }
    },{
      path: 'friendscircleindex',
      component: () => import('@/views/customer/game/market/friendscircle/friendscircleIndex.vue'),
      name: 'friendscircleindex',
      meta: { title: '动态管理' }
    },{
      path: 'myfriendscircleindex',
      component: () => import('@/views/customer/game/market/friendscircle/myFriendscircleIndex.vue'),
      name: 'myfriendscircleindex',
      meta: { title: '我的动态' }
    }
  ]
}

export default marketRouter
